'use strict';
const Service = require('egg').Service;
class UserService extends Service{
    // 判断是否登录
	async islogin(){
		let email = this.ctx.session.email
		if (!email) {
			return false
		}else{
			return true
		}		
	}

}
module.exports = UserService;